package com.itheima.domain.store;

import java.util.List;

/**
 * @program: mm_exam
 * @description:
 * @author: zhanghz001
 * @create: 2020-10-20 11:06
 **/
public class Question {
    /**
     * 题目id
     */
    private String id;
    /**
     * 题干
     */
    private String subject;
    /**
     * 题目类型 1单选,2多选,3简答
     */
    private String type;
    private List<QuestionItem> questionItemList;

    public List<QuestionItem> getQuestionItemList() {
        return questionItemList;
    }

    public void setQuestionItemList(List<QuestionItem> questionItemList) {
        this.questionItemList = questionItemList;
    }

    @Override
    public String toString() {
        return "Question{" +
                "id='" + id + '\'' +
                ", subject='" + subject + '\'' +
                ", type='" + type + '\'' +
                ", questionItemList=" + questionItemList +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
